package com.cat.adapter.class_adapter;

/**
 * @author cat
 * @version 2025/5/21 10:12
 * @description 适配器类
 * @since JDK17
 */

public class SDAdapterTF extends TFCardImpl implements SDCard {
    @Override
    public String readSD() {
        System.out.println("使用TF卡的读取功能");
        return readTF();
    }

    @Override
    public void writerSD(String msg) {
        System.out.println("使用TF卡的写入功能");
        writerTF(msg);
    }
}
